{% extends "base.html" %}

<body>
{% block header %}
{% include "alert-menu.html" %}
{% endblock %}

{% block content %}
<div class="wrap">
	{% include "tree.html" %}
    <div class="wrap_left right">
        <div class="shenqing1">
        <h5 style="float:left;width:96%;margin-bottom:10px;">报警回复</h5>
	</div>
    <div class="caozuo_add">
    <form action="/alert/replay/" method="post" >
    <table width="100%" border="0" cellpadding="0" cellspacing="0" >
		<input type="hidden" name="id" value="{{ alert.id }}">
		<tr>
		    <td width="11%" class="textalingR">监控名称：</td>
		    <td width="89%">{{ alert.mid }}</td>
		</tr>
		<tr>
		    <td class="textalingR">报警时间：</td>
		    <td>{{ alert.timestamp|date:"Y-m-d H:i:s" }}</td>
		</tr>
		<tr>
		    <td class="textalingR">持续时间：</td>
		    <td>{{ alert.downtime}}</td>
		</tr>
		<tr>
		    <td class="textalingR">对应主机：</td>
		    <td>{{ alert.host }}</td>
		</tr>
		<tr>
		    <td class="textalingR">故障类型：</td>
		    <td>
		    <select name="rtype" id="rtype" style="width:200px">
                <option selected="selected" value="">---------</option>
                <option value="闪断">闪断</option>
                <option value="程序BUG">程序BUG</option>
                <option value="人为操作">人为操作</option>
                <option value="负载过大">负载过大</option>
                <option value="网络故障">网络故障</option>
                <option value="其他">其他</option>
            </select>
            </td>
		</tr>
		<tr>
		    <td class="textalingR">报警原因：</td>
		    <td><textarea id="reason" name="reason" rows=10 cols=60 ></textarea> </td>
		</tr>
		<tr >
		    <td style="height:40px;">&nbsp;</td>
		    <td ><input type="submit" class="tijiao_big" value="&nbsp;&nbsp;提交" /></td>
		</tr>
	</table>
	</form>
	</div>
</div>
{% endblock %}

</body>
</html>
